package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 收藏对象 tourism_pact
 * 
 * @author gqd
 * @date 2020-12-29
 */
public class TourismPact extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 收藏id  主键 */
    private Integer id;

    /** 用户id */
    @Excel(name = "用户id")
    private Integer userId;

    /** 收藏的所有id */
    @Excel(name = "收藏的所有id")
    private Integer pactId;

    /** 状态值（1景点   2民宿   3美食   4特色商品    5活动） */
    @Excel(name = "状态值", readConverterExp = "1=景点,2=民宿,3=美食,4=特色商品,5=活动")
    private Integer pactType;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setUserId(Integer userId) 
    {
        this.userId = userId;
    }

    public Integer getUserId() 
    {
        return userId;
    }
    public void setPactId(Integer pactId) 
    {
        this.pactId = pactId;
    }

    public Integer getPactId() 
    {
        return pactId;
    }
    public void setPactType(Integer pactType) 
    {
        this.pactType = pactType;
    }

    public Integer getPactType() 
    {
        return pactType;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("pactId", getPactId())
            .append("pactType", getPactType())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
